home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Media 4
/
PC MEDIA CD04.iso
/
share
/
os2
/
10unzs
/
unzsh.doc
< prev
next >
Wrap
Text File
|
1994-01-21
|
18KB
|
423 lines
-- The UnZip Shell - UNZSH.EXE --
OS/2 PM front-end for Info-ZIP UnZip
Shareware Version
Version 1.0s
1/15/94
-- Legal Issues --
---------------------------------------------------------
The UnZip Shell is Copyright (C), John Wagner 1994. All Rights Reserved.
There are two executable programs in the archive - The UnZip Shell
(UNZSH.EXE) and Info-ZIP UNZIP (UNZIP.EXE). One program is SHAREWARE,
and the other is FREE. The following paragraphs explain the difference.
---------------------------------------------------------
The UnZip Shell is Shareware
---------------------------------------------------------
If you have the shareware version:
You may evaluate the program for TWO WEEKS. If you wish to continue
using the program after TWO WEEKS, you must obtain a registered copy. If
you don't wish to continue using the program after two weeks, please
delete your copy of it. All users are allowed and encouraged to pass on
copies of the SHAREWARE version of the program.
There are two versions of The UnZip Shell, one is the SHAREWARE version
and the other is the REGISTERED VERSION. The two programs are identical
in function, but there are some additional features in the REGISTERED
version.
---------------------------------------------------------
The UnZip Shell SHAREWARE VERSION:
---------------------------------------------------------
Default settings are not editable. You can modify the
settings while the program is running, but the settings
aren't saved.
Cannot use Object Association when inspecting items
in ZIP files.
Uses the OS/2 E.EXE editor as a file viewer.
"SETUP" option works, but the changes you make aren't
saved.
Reminder window pops-up when you view a file, when you
enter the "SETUP" window, and when you quit the program.
The SHAREWARE version allows for a full evaluation of
the program to see if it suits your needs.
---------------------------------------------------------
The UnZip Shell REGISTERED VERSION:
---------------------------------------------------------
Defaults can be modified and saved.
Allows the use of any editor to view files.
Optionally uses the OS/2 Association feature when a
file is selected for viewing by calling the appropriate
(default) associated object. This means if you select a
file with a .ICO extension, the OS/2 Icon Editor will
be called up with the icon loaded into it.
"SETUP" option saves the settings.
No reminder window - A clear conscience!
---------------------------------------------------------
If you have purchased a registered version:
---------------------------------------------------------
Thank you! Please make sure that you do not give anyone your registered
software, as doing so would seriously hurt my business (and be really
uncool!). Please do not upload it to BBS's, do not give a copy to a
friend, or offer it for distribution in any way shape or form. You will
find a copy of the SHAREWARE version of the program on your distribution
disk, so if someone wants a copy, please give them the SHAREWARE version
only. Thank you again for supporting my efforts to bring you quality
software at an honest price.
---------------------------------------------------------
Info-ZIP UNZIP (UNZIP.EXE) is FREE:
---------------------------------------------------------
The included file UNZIP.EXE is FREE SOFTWARE - it is merely being
included with this package as a convenience to the user. It should be
noted that you may use UNZIP.EXE from the command line for FREE, without
retribution to anyone. You may distribute UNZIP.EXE for FREE. This is in
accordance with the authors of UNZIP.EXE wishes.
The source code for UNZIP is freely available at various FTP sites and
BBS's. You will find a ZIP file enclosed in this package entitled
UNZIPDOX.ZIP. This file contains the full documentation for UNZIP.EXE.
When you register The UnZip Shell, I will include the latest version I
have of Info-ZIP UNZIP and it's source code as a convenience FOR FREE.
If you desire to have just the UNZIP program and it's source code, I
will mail it to you for a copying and handling fee of $10. I'm sorry
I have to ask for anything if all you want is the UNZIP program and it's
source code, but it costs me a considerable amount of money to run a
small business. If all you want is the UNZIP program and it's source, I
would rather you got it free from a BBS or FTP it from somewhere on the
Internet.
To further clarify the status of Info-ZIP UNZIP, the following text is
extracted from the file COPYING included in the Info-ZIP UNZIP package:
"an UnZip executable may be distributed with a commercial product SO
LONG AS IT IS CLEAR THAT UNZIP IS NOT BEING SOLD, THAT THE SOURCE
CODE IS FREELY AVAILABLE, AND THAT THERE ARE NO EXTRA OR HIDDEN
CHARGES RESULTING FROM ITS USE BY OR INCLUSION WITH THE COMMERCIAL
PRODUCT."
---------------------------------------------------------
How to Register The UnZip Shell:
---------------------------------------------------------
Registration for The UnZip Shell is a mere $12 U.S. That price includes
shipping (in North America) and floppy disk media. Outside of North
America, please add $2 for shipping and handling. Please send checks
drawn from a U.S. bank, or money orders that are drawn in U.S. funds,
made out to John Wagner. All others will be returned. Do not send credit
card information as I am unable to process credit cards.
When you register, you will receive the latest version of The Unzip
Shell on a 3.5 inch disk. Please see the matrix above for the
differences between the SHAREWARE and REGISTERED versions of the
program.
The address for registering The UnZip Shell is:
John Wagner
RR 1 Box 107
Derby Line, VT 05830
For your convenience, a file called INVOICE.DOC is included that
contains all of the information I'll need to get your order processed.
To expedite your order, please print INVOICE.DOC, fill out the requested
information and send it in with your order.
---------------------------------------------------------
Upgrade policy:
---------------------------------------------------------
Since the low, low price of $12 pretty much rules out mass mailings to
registered users, I will be unable to notify registered users of
upgrades. I will release upgrades to the shareware version of the
program which will reflect the latest features of the registered
program. If you are a registered user, and come across a newer version
of the program, and you would like upgrade to a registered copy of it,
send $5 and I'll send you a disk as mentioned above.
Indicate on your order that you are a registered user and the current
registered version # that you have. If you are using the latest version,
I'll deposit your check, but hold your order until an upgrade is
available, at which time your order will be sent promptly.
Distributing The UnZip Shell:
The SHAREWARE version of The UnZip Shell may be distributed as long as
the ENTIRE package is distributed together, and no additional files are
added to the archive. The following list is the SHAREWARE UnZip Shell
archive:
UNZSH.EXE
UNZSH.DOC
INVOICE.DOC
FILE_ID.DIZ
UNZIP.EXE
UNZIPDOX.ZIP
VENDOR.DOC
Please make certain that all of the files are included when distributing
the archive. If you have the REGISTERED version of the program, PLEASE
DO NOT distribute it. If you have the REGISTERED version of the program,
I have included a copy of the latest SHAREWARE version on the diskette I
sent you under the filename xxUNZS.ZIP (where xx is the version and
sub-version).
---------------------------------------------------------
Disclaimer - PLEASE READ:
---------------------------------------------------------
The UnZip Shell is provided "as is", with NO GUARANTEE that it works as
described here, or anywhere else. USE IT AT YOUR OWN RISK.
---------------------------------------------------------
What The UnZip Shell does:
---------------------------------------------------------
The UnZip Shell is an OS/2 PM front end for Info-ZIP UNZIP file
extraction utility. The following instructions will guide you
step-by-step to installing UnZip Shell and integrating it into the
Workplace Shell. The UnZip Shell allows you to activate files in your
ZIP archives without unzipping the whole archive. This is handy for
viewing text files, etc... Using the OS/2 Object Association feature,
you can activate any object that is associated with the files contained
within your archive files.
---------------------------------------------------------
Quick and Dirty installation:
---------------------------------------------------------
If you are an OS/2 and WPS expert, you can can get up and running
quickly by following these brief instructions:
Put a copy of Info-ZIP UNZIP.EXE in your path
Create a program reference object for UNZSH.EXE
Set the association for the object you just created to *.ZIP
Make sure you have a TEMP or TMP variable set in you CONFIG.SYS
file
Optionally, you can add a default target path as a parameter in
the settings notebook like so: -d=path
---------------------------------------------------------
How to install The UnZip Shell:
---------------------------------------------------------
Copy UNZIP.EXE to a directory that is in your OS/2 path. If UNZIP.EXE
isn't in your path, The UnZip Shell won't be able to find it and won't
run properly.
Make sure you have a TEMP or TMP variable set in your CONFIG.SYS file:
-CONFIG.SYS-
SET TEMP=C:\TEMP
Make sure C:\TEMP exists! The UnZip Shell uses the directory specified
in the TMP or TEMP environment variable as a work directory. The UnZip
Shell will run if you don't have a TMP or TEMP environment variable, but
it will use the root directory of the drive that OS/2 started from.
I would like to point out that running The UnZip Shell without a TMP or
TEMP variable set is a potentially dangerous situation in the rare case
that you have a ZIP file with a file in it called CONFIG.SYS, and you
attempt to read it, and ignore the warning that reading the file will
overwrite a file that exists... make sure you have a TMP or TEMP
environment variable set, it's the right thing to do!
Copy UNZSH.EXE to a sub-directory on your hard drive. Create a program
reference object that references UNZSH.EXE.
Example:
Copy UNZSH.EXE to the C:\OS2\APPS directory
Open the TEMPLATES folder, and drag out a PROGRAM template onto
your desktop (you can place it in a folder later).
When the SETTINGS notebook opens, enter: C:\OS2\APPS\UNZSH.EXE
Optionally, in the PARAMETERS edit window, enter the path that
you most often unzip files to, preceded by '-d='. Example:
-d=C:\TEMP
Don't close the settings notebook yet...
Setup an Association:
Select the "Association" tab from the Settings notebook. In the edit
window labeled "New Name", type in: *.ZIP and then click on the "Add>>"
button. Close the Settings notebook.
This associates The UnZip Shell with any file that has a .ZIP extension.
Now, whenever you come across a ZIP file in the WPS, you can just
double-click on it, and it will run UNZSH.EXE.
---------------------------------------------------------
You can also run The UnZip Shell from the command line:
---------------------------------------------------------
USAGE: UNZSH [-D=path to unzip to] [filename.zip]
WHERE: [path to unzip to] is optional, do not include the []'s - it
specifies the target drive/directory to place the unzipped
files. Do include the -D= though.
WHERE: [filename.zip] specifies the file to unzip.
If you don't specify a file to unzip (by running the program without the
command line parameters) you can still load a ZIP file from within the
program by clicking the "OPEN" button.
---------------------------------------------------------
Running The UnZip Shell:
---------------------------------------------------------
Regardless of how you start The UnZip Shell, you will have the following
options...
Actions before unzipping:
Viewing text files in the ZIP archive:
You can double click on a filename in the file listbox and The
UnZip Shell will bring up the OS/2 'E' editor with the selected
file loaded. When UnZip Shell exits, it shuts down any 'E'
sessions that may have been started and erases any files that
where being viewed. All of this takes place in the directory
specified in your TEMP or TMP environment variable.
Existing file Options:
These options control what UNZIP.EXE does when it tries to extract
a file from a ZIP file, and the file already exists in the
directory that it is extracting to.
Embedded directory Options:
ZIP files can have sub-directories embedded in them. It is usually
desirable to re-create these sub-directories when unzipping the
file. By default, UNZIP.EXE will create the sub-directories. If
you select "Junk directories" (the equivalent of running UNZIP.EXE
with the -j parameter) then the sub-directories won't be created,
and all of the files will be extracted into the Target Directory.
Specify the drive/dir you want to unzip the files to (Target Directory):
If you specify a directory that doesn't exist, The UnZip Shell
will make sure you want to create it. NOTE: UnZip Shell will only
create a directory one level deep, and it can't create drives that
don't exist<g>.
Opening another ZIP file:
If you click the "OPEN..." button, you can select another file to
unzip.
Setup the program configuration: (REGISTERED VERSION ONLY)
If you click the "SETUP" button, you will be presented with a
dialog window that contains the program startup defaults. From
this window, select the settings you want the program to start up
with every time.
You can also select a different editor or file viewer to use when
you select a file to view. If the program you choose to view files
is not in your path, be sure to include the fully qualified path
name to the program (ie: C:\DOS\EDIT.COM) (like an OS/2 user is
going to use DOS EDIT!). Also, be sure to include the extension of
the program (ie: EPM.EXE) (that's more like it!).
The registered version of The UnZip Shell allows you to use the
object association feature of the WPS. To do so, select this
option while in the setup dialog.
Actions after unzipping:
Create a WPS Shadow of the dir the files are being placed in:
This is the default setting. Click the checkbox off if you don't
want this to happen. As the object that is created is a shadow, it
can be safely deleted without affecting the actual directory. If
you delete the file objects however, the files will be deleted.
Create an OS/2 session:
Select this option if you want The UnZip Shell to start an OS/2
command line window for you after unzipping the files. The session
will be started and the active drive/dir will be the one that the
unzipped files were placed in.
How to exit:
Select "OK":
If you select "OK", The UnZip Shell will start a session that runs
UNZIP.EXE to unzip the files. That session is a Windowed OS/2
session and it runs independently of The UnZip Shell (go OS/2!).
What this means is you will see the session that is unzipping the
files running even after The UnZip Shell has stopped running. The
UNZIP.EXE session will close itself when it is done unzipping the
files (that is unless you specified the "Create and OS/2 session"
option, in which case the OS/2 Window will just stay open in the
directory that all the files were placed in).
Select "CANCEL":
If you select "CANCEL", The UnZip Shell will confirm that you want
to cancel.
Exit with the "System Menu":
If you select "Close" from the System Menu (upper left corner),
then The UnZip Shell will close immediately without confirming you
want to quit and without unzipping any files. The SHAREWARE
version will still display it's reminder window.
IMPORTANT!!!:
Regardless of how you exit the program, The UnZip shell will
shutdown any viewers or programs that you started while using
viewing a files contents, and delete the temporary files that it
created.
---------------------------------------------------------
Contacting the author:
---------------------------------------------------------
John Wagner is available on on CompuServe, account # 72122,2412. He can
also be reached by phone at (802)895-4512 - after 5pm and before 10pm
EST. The author suggests (and requests) that you attempt to contact him
electronically (CIS, or phone) for a speedy response.
History:
- 1/25/94 Initial Release
v1.0 - (v1.0s Shareware and v1.0r Registered)